package com.unsky.utils.jpasql;

import javax.persistence.Query;

/**
 * 返回XMLSql
 * @author unsky
 *
 */
public class XmlSql<T> {
	/**
	 * sql
	 */
	private StringBuffer sql;
	/**
	 * sql类型
	 */
	private String sqlType;
	
	private String returnType;
	
	private Query query;
	public StringBuffer getSql() {
		return sql;
	}
	public void setSql(StringBuffer sql) {
		this.sql = sql;
	}
	public String getSqlType() {
		return sqlType;
	}
	public void setSqlType(String sqlType) {
		this.sqlType = sqlType;
	}
	public String getReturnType() {
		return returnType;
	}
	public void setReturnType(String returnType) {
		this.returnType = returnType;
	}
	public Query getQuery() {
		return query;
	}
	public void setQuery(Query query) {
		this.query = query;
	}
	
}
